package com.ashleyleung.jetpack_b_station.api

import com.ashleyleung.jetpack_b_station.domain.OnSellData
import com.ashleyleung.jetpack_b_station.domain.ResultData
import retrofit2.http.GET
import retrofit2.http.Path

/**
 * @author lxy
 * @name
 * @class describe
 * @date 2022-06-28
 * Copyright (c)  Guangzhou GCI Science & Technology Co., Ltd.All rights reserved
 */
interface ApiService {
    companion object {
        const val  baseUrl ="https://api.sunofbeaches.com/shop/"
    }
    @GET("onSell/{page}")
    suspend fun  getOnSellList(@Path("page") page: Int): ResultData<OnSellData>


}